package com.lskj.shiro.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.List;

/**
 * @Author zzq
 * @Date 2020/3/31 12:25
 * @Version 1.0
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
public class SysUser implements Serializable {
    private static final long serialVersionUID = 5154982705195671542L;
    @Id
    private String id;

    private String userName;

    private String name;

    private String password;

    private String salt;

    private Integer status;

    private transient List<SysRole> roles;

}
